home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / fractal / kaos.lha / auxlib / aux_y_proc.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-11-18  |  578 b   |  28 lines

  1. /*
  2. ### procedure for selecting the y-projection coordinate of combined space ###
  3. */
  4.  
  5. #include <suntool/sunview.h>
  6. #include <suntool/panel.h>
  7.  
  8. void aux_y_proc(item,value,event)
  9. Panel_item      item;
  10. int             value;
  11. Event          *event;
  12. {
  13.         int i,aux_i;
  14.         extern int aux_max,*aux_on;
  15.         extern int **aux_cur_index;
  16.         extern Panel_item *aux_y_item;
  17.  
  18.         for(i=0;i<aux_max;i++){
  19.                 if(item == aux_y_item[i]){
  20.                         aux_i = i;
  21.             break;
  22.         }
  23.         }
  24.         aux_cur_index[aux_i][1] = value;
  25.     aux_refresh(aux_i);
  26. }
  27.  
  28.